<!DOCTYPE html>
<html lang="en">
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form action="pagewardemo/test" method="post">
<table >
    <tr>
        <td>
            姓名
        </td>

        <td>
        <td th:text="${user.name}"></td>
        <td th:text="${user.gender}"></td>
        </td>

    </tr>
    <tr>
        <td>
            年龄
        </td>
        <td>
            <input type="number" name="age">
        </td>
    </tr>
    <tr>
        <td>
            <input type="submit">
        </td>
    </tr>
</table>
</form>

</body>
</html>